home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
nmail11.arc
/
NEWMAIL.DOC
< prev
next >
Wrap
Text File
|
1991-07-04
|
3KB
|
59 lines
NewMail (c) 1991 DataBOARD-][
Phil and Dave's DataBOARD-][ BBS
(616) 243-8663 v.32
(616) 243-8960 USRobotics Dual
PO Box 230095
Grand Rapids, Mich 49523
One of the problems we had trying to run FidoNet "Continuous Mail"
was, after every call we would run InterPCB(c) and QMail(c). A lot of
times this wasn't neeeded since there was no new Echomail. Also, since
we only run Binkley(c) on our node 2 we had no way of telling if new
mail had been entered on our Node 1. The purpose of NewMail is to look
into your PCBoard (c) caller log and determine if there is any new
mail that needs to be sent out.
NetMail looks for a message that begin with " Message Entered: "
in the caller log. If you've modifed your PCBTEXT NewMail won't find
new mail. NewMail keeps track of the number of lines in the Caller log
in a file called "HIGHMARK.DAT". The file is created in the default
directory that NewMail was run from. If you delete your caller log the
"HIGHMARK.DAT" file will miss the next new message, but will be okay
after the next caller.
NewMail is meant to be run from a batch file. NewMail returns an
returns an errorlevel 3 if there is new echomail. We have included a
sample batch file for you to incorporate into your own batch files.
Here's an example of how we do it:
:NewMail
NewMail C:\Logs\Node2 Local Sysop
If ErrorLevel 3 goto Mail
Goto Begin
:Mail
Busy /D/2/Processing Mail/OUT_Bound
CD \Bink
IP /i /e /max:150 /s /pvt /w /f:C:\MSG\Local /p:C:\PCB\MSGS\Local
IP /i /e /max:150 /s /pvt /w /f:C:\Msg\Sysop /p:C:\PCB\MSG\Sysop
QM Scan Pack -q
If Exist C:\Msg\Local\*.Msg Del C:\Msg\Local\*.Msg
If Exist C:\Msg\Sysop\*.Msg Del C:\Msg\Sysop\*.Msg
Goto Begin
This program has no warranty or guarantee. This program is free
software. This program MAY NOT be commercially reproduced or sold by
anyone. Including part of a software library in which the user pays
for the cost of the disk. The author reserves all rights to this
program. Questions, comments or complaints can be sent to the above
address, phone number or NetMailed to 1:228/2.
-------------------------Acknowledgments-----------------------------
NewMail - Copyright DataBOARD-][
Qmail - Copyright.. Greg Dawson
InterPCB - Copyright InterZone Software Inc.
PCBoard - Registered trademark of Clark Development Company Inc.